From: Juanma Barranquero Date: Fri, 11 Jun 2004 01:02:51 +0000 (+0000) Subject: (parse-colon-path, cd): Doc fixes (refer to `path-separator', not colon). X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~22052 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=89b670bd1bd984192dcea3ac0fafc00b797520f3;p=emacs.git (parse-colon-path, cd): Doc fixes (refer to `path-separator', not colon). --- diff --git a/lisp/files.el b/lisp/files.el index 81e014d2283..4ee6da4e544 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -526,8 +526,8 @@ the value of `default-directory'." Not actually set up until the first time you use it.") (defun parse-colon-path (cd-path) - "Explode a colon-separated search path into a list of directory names. -\(For values of `colon' equal to `path-separator'.)" + "Explode a search path into a list of directory names. +Directories are separated by occurrences of `path-separator'." ;; We could use split-string here. (and cd-path (let (cd-list (cd-start 0) cd-colon) @@ -560,8 +560,9 @@ Not actually set up until the first time you use it.") (defun cd (dir) "Make DIR become the current buffer's default directory. -If your environment includes a `CDPATH' variable, try each one of that -colon-separated list of directories when resolving a relative directory name." +If your environment includes a `CDPATH' variable, try each one of +that list of directories (separated by occurrences of +`path-separator') when resolving a relative directory name." (interactive (list (read-directory-name "Change default directory: " default-directory default-directory